package com.ken.apigateway.comm;

import com.google.common.collect.Lists;
import com.ken.apigateway.pojo.FilterPath;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties("path-list")
@Data
@RefreshScope
public class FilePathSettings {
    private List<FilterPath> filterPaths = Lists.newArrayList();
}
